/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package propres;
import java.io.Serializable;
/**
 *
 * @author Administrador
 */
public class calorias implements Serializable{

    private int C_total;
    private int C_comida;
    private int C_dia;
    
    public calorias(){}
    public calorias(int c,int a, int b){
        C_total=c;
        C_comida=b;
        C_dia=a;
    }
    
    public void Set_C_total(int cal){
        C_total=cal;
    }
    public void Set_C_comida(int c){
        C_comida=c;
    }
     public void Set_C_dia(int c){
        C_dia=c;
    }
    public int Get_C_total()
    {
        return C_total;
    }
    public int Get_C_comida()
    {
        return C_comida;
    }
    public int Get_C_dia()
    {
        return C_dia;
    }
	    public int[] Consultar_calorias()
	{
		int[] cal=new int[3];
		cal[0]=C_total;
		cal[1]=C_dia;
		cal[2]=C_comida;
		return cal;
	}
}
